package org.wf3.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;
import org.wf3.common.service.RpcUserService;


@Component("userServiceImpl")
@Service(interfaceClass = RpcUserService.class)
public class UserServiceImpl implements RpcUserService {

    //aaa
    //dfefe
    //zuizhong
    @Override
    public boolean login(String name,String pwd) {
        if(name.equals("admin")&&pwd.equals("123")){
            return true;
        }

        return false;
    }
}
